/**
 * @version 1.0.0
 * @Title: TestController
 * @Package: per.lx.cat.controller
 * @Description: Copyright: Copyright (c) 2016
 * @Company: 成都壹柒互动科技有限公司
 * @author huangzhilong.hzl
 * @date 2017-05-11 19:26
 */
package per.lx.cat.controller;

import com.dianping.pigeon.remoting.invoker.config.annotation.Reference;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import per.lx.cat.api.TestService;

/**
 * @version 1.0.0
 * @Title: TestController
 * @Package: per.lx.cat.controller
 * @Description: Copyright: Copyright (c) 2016
 * @Company: 成都壹柒互动科技有限公司
 * @author huangzhilong.hzl
 * @date 2017-05-11 19:26
 */
@RestController
@RequestMapping(value = "/test")
public class TestController {

    @Reference
    private TestService testService ;

    @RequestMapping(value = "/test")
    public String test(){
        return testService.test() ;
    }

}
